//
//  TabbarTableViewCell.m
//  CarTown
//
//  Created by xionghao on 15/8/7.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "TabbarTableViewCell.h"

@interface TabbarTableViewCell ()

@end

@implementation TabbarTableViewCell
+(instancetype)cell{
    TabbarTableViewCell *cell=[[[NSBundle mainBundle]loadNibNamed:@"TabbarTableViewCell" owner:nil options:nil]lastObject];
    return cell;
}
- (void)awakeFromNib {
    // Initialization code
}
- (IBAction)btnclick:(UIButton *)sender {
    if ([_delegate respondsToSelector:@selector(TabbarClickWithIndex:)]) {
        [_delegate TabbarClickWithIndex:sender.tag];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
